/*
 * libmanyuc - Template board specifications file
 * Copyright (C) 2012 - Margarita Manterola Rivero
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301 USA
 */

#ifndef LM4F_BOARD_H
#define LM4F_BOARD_H

/* Macros and declarations needed for this port */

#ifdef __cplusplus
extern "C" {
#endif

#include "common.h"

// Names of the Pins, specific to the board.
    typedef enum PinName {
        PA2 = ARM_PA_2, PA3 = ARM_PA_3,
        PA4 = ARM_PA_4, PA5 = ARM_PA_5, PA6 = ARM_PA_6, PA7 = ARM_PA_7, 
        PB0 = ARM_PB_0, PB1 = ARM_PB_1, PB2 = ARM_PB_2, PB3 = ARM_PB_3,
        PB4 = ARM_PB_4, PB5 = ARM_PB_5, PB6 = ARM_PB_6, PB7 = ARM_PB_7,
        PC4 = ARM_PC_4, PC5 = ARM_PC_5, PC6 = ARM_PC_6, PC7 = ARM_PC_7,
        PD0 = ARM_PD_0, PD1 = ARM_PD_1, PD2 = ARM_PD_2, PD3 = ARM_PD_3,
        PD6 = ARM_PD_6, PD7 = ARM_PD_7,
        PE0 = ARM_PE_0, PE1 = ARM_PE_1, PE2 = ARM_PE_2, PE3 = ARM_PE_3,
        PE4 = ARM_PE_4, PE5 = ARM_PE_5,
        PF0 = ARM_PF_0, PF1 = ARM_PF_1, PF2 = ARM_PF_2, PF3 = ARM_PF_3,
        PF4 = ARM_PF_4,
        RED_LED = PF1,
        BLUE_LED = PF2,
        GREEN_LED = PF3,
        SW1 = PF4,
        SW2 = PF0
    } PinName;

// All the rest should probably come from common.h

#ifdef __cplusplus
}
#endif

#endif
// vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
